package com.zeng.jiudian.mapper;

import com.zeng.jiudian.bean.OnlineModel;
import com.zeng.jiudian.bean.OnlineModelExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OnlineMapper
{
    long countByExample(OnlineModelExample example);

    int deleteByExample(OnlineModelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OnlineModel record);

    int insertSelective(OnlineModel record);

    List<OnlineModel> selectByExample(OnlineModelExample example);

    OnlineModel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OnlineModel record, @Param("example") OnlineModelExample example);

    int updateByExample(@Param("record") OnlineModel record, @Param("example") OnlineModelExample example);

    int updateByPrimaryKeySelective(OnlineModel record);

    int updateByPrimaryKey(OnlineModel record);
}